package com.sgb.kjwl.model.entity.lease;


import android.text.TextUtils;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class LeaseOrderInvoiceEntity implements Serializable, IPickerViewData {


    /**
     * no : 317
     * invoiceTitle : 去去去
     * ownerBank : 工商银行
     * blankAccount : 222222222222
     * creditCode : 111111
     * address : 注地址
     * phone : 333333333333
     */
    @SerializedName(value = "no", alternate = {"id"})
    private String no;
    @SerializedName(value = "invoiceTitle", alternate = {"companyName"})
    private String invoiceTitle;
    @SerializedName(value = "ownerBank", alternate = {"bank"})
    private String ownerBank;
    @SerializedName(value = "blankAccount", alternate = {"bankAccount"})
    private String blankAccount;
    @SerializedName(value = "creditCode", alternate = {"number"})
    private String creditCode;
    private String address;
    @SerializedName(value = "phone", alternate = {"tel"})
    private String phone;
    private String type;//类型，1个人，2企业'
    private boolean isCheck = false;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getInvoiceTitle() {
        return invoiceTitle;
    }

    public void setInvoiceTitle(String invoiceTitle) {
        this.invoiceTitle = invoiceTitle;
    }

    public String getOwnerBank() {
        return ownerBank;
    }

    public void setOwnerBank(String ownerBank) {
        this.ownerBank = ownerBank;
    }

    public String getBlankAccount() {
        return blankAccount;
    }

    public void setBlankAccount(String blankAccount) {
        this.blankAccount = blankAccount;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    @Override
    public String getPickerViewText() {
        return invoiceTitle;
    }
}
